home *** CD-ROM | disk | FTP | other *** search
-
-
-
- RPCCMD User Commands RPCCMD
-
-
-
- _________________________________________________________________
-
- NNAAMMEE
- rpccmd - Control the RPC system
-
- SSYYNNOOPPSSIISS
- rrppccccmmdd [_o_p_t_i_o_n_s]
-
- OOPPTTIIOONNSS
- --oonn Turn on the server half of the RPC system.
-
- --ooffff Turn off the server half of the RPC system.
-
- --ppiinngg _h_o_s_t Do an RPC test against the specified host.
-
- --bb _s_i_z_e The amount of data to send in each RPC test.
-
- --tt [00||11] Set the value of the rpc_Tracing variable.
- RPC tracing facilitates debugging, but adds
- overhead to each RPC.
-
- --DD [00||11] Set the value of the rpc_Debug variable. A
- non-zero value causes each RPC to be logged to
- /dev/syslog. This really slows things down!
-
- --TT [00||11] Set the value of the rpc_NoTimeouts variable.
- A non-zero value makes all RPCs try forever.
- This is dangerous because a server call-back
- to a dead client will hang the server.
-
- --CC [00||11] Turn off/on timings of RPC on the client side.
- Use rrppccssttaatt to dump out the histograms of
- times that are taken by the kernel.
-
- --SS [00||11] Turn off/on timing of the RPC service times as
- measured by the server.
-
- --CCrreesseett Reset the client-side timing histograms.
-
- --SSrreesseett Reset the server-side timing histograms.
-
- --mmaaxxSSeerrvveerrss _n_u_m_b_e_r
- Set the maximum number of allowed rpc server
- processes.
-
- --nnuummSSeerrvveerrss _n_u_m_b_e_r
- Create more rpc servers until this number
- exists.
-
- --nneeggAAcckkssOOnn Allow the machine to generate negative ack-
- nowledgements.
-
-
-
-
- Sprite v.1.0 Printed: August 13, 1992 1
-
-
-
-
-
-
- RPCCMD User Commands RPCCMD
-
-
-
- --nneeggAAcckkssOOffff Prevent the machine from generating negative
- acknowledgements.
-
- --cchhaannnneellNNeeggAAcckkssOOnn
- Turn on the client policy of ramping down the
- number of channels it uses with a server that
- has returned a negative acknowledgement
- recently.
-
- --cchhaannnneellNNeeggAAcckkssOOffff
- Turn off the client policy of ramping down the
- number of channels it uses with a server that
- has returned a negative acknowledgement
- recently. Use back-off instead.
-
- --nnuummPPiinnggss Number of pings to send to the specified host
- (defaults to 100).
-
- --ssaanniittyy [00||11] Turn off/on sanity checking of RPC packets.
- The types of sanity checks done are intended
- for debugging purposes and probably shouldn't
- be used during normal operation.
-
- _________________________________________________________________
-
- IINNTTRROODDUUCCTTIIOONN
- This command is used to set various control parameters of
- the RPC system. The most important is the --oonn option, which
- is used during the boot sequence to enable RPC service after
- local initialization (i.e. disk checks) is done. The --ppiinngg
- option is used to ping another sprite host. This is useful
- to find out if the host is up, and the make sure that the
- host knows you are alive. This does an RPC_SEND, and the
- amount of data sent can be specified with the --bb option.
-
- Each of the --tt, --DD, --TT, --CC, and --SS options set the value of
- a kernel variable. --tt is used to turn on or off the trace
- of the last 100 RPC packets. --DD is used to turn on or off
- debugging print statements. --TT is used to turn on or off
- "no timeout mode". This mode is useful when debugging a
- client and you don't want the server to timeout and think
- the client has crashed. It is dangerous, however, because
- if the server ever makes a call-back to a truely dead client
- it will hang until the no timeout mode is turned off.
-
- The --CC and --SS options turn on or off timings of individual
- RPCs. --CC controls timing on the client side, and --SS con-
- trols timing on the server side. The timings are kept in
- histogram form. Use the --CCrreesseett and --SSrreesseett options to zero
- out the histograms. Use rrppccssttaatt to display them.
-
- SSEEEE AALLSSOO
- rpcstat
-
-
-
-
- Sprite v.1.0 Printed: August 13, 1992 2
-
-
-
-
-
-
- RPCCMD User Commands RPCCMD
-
-
-
- KKEEYYWWOORRDDSS
- rpc, trace, debug
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sprite v.1.0 Printed: August 13, 1992 3
-
-
-
-